<?php use_helper('I18N') ?>

<? if ($sf_flash->has("login-error")):?>
  <div class="login-error"><?=__("Los datos ingresados no son correctos")?></div>
<? endif;?>

<form action="<?php echo url_for('@login') ?>" method="post">
  <table border="0" cellpadding="6" cellspacing="1">
    <tbody>
    <tr>
      <th><? echo _("Nombre de Usuario")?></th>
      <td><?=input_tag("username","",array("class"=>"inputbox"))?></td>
    </tr>
    <tr>
      <th><? echo __("Clave de Ingreso")?></th>
      <td><?=input_tag("password","",array("class"=>"inputbox","type"=>"password"))?></td>
    </tbody>
    <tfoot>
      <tr>
        <td colspan="2" align="center">
          <input type="submit" value="<?php echo __('Ingresar') ?>" class="submit-button"/>
        </td>
      </tr>
    </tfoot>
  </table>
</form>
